Optimal. Leaf size=102 \[ -A b^{3/2} \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {b x^2+c x^4}}\right )+\frac {A b \sqrt {b x^2+c x^4}}{x}+\frac {A \left (b x^2+c x^4\right )^{3/2}}{3 x^3}+\frac {B \left (b x^2+c x^4\right )^{5/2}}{5 c x^5} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.21, antiderivative size = 102, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {2039, 2021, 2008, 206} \[ -A b^{3/2} \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {b x^2+c x^4}}\right )+\frac {A \left (b x^2+c x^4\right )^{3/2}}{3 x^3}+\frac {A b \sqrt {b x^2+c x^4}}{x}+\frac {B \left (b x^2+c x^4\right )^{5/2}}{5 c x^5} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 2008
Rule 2021
Rule 2039
Rubi steps
\begin {align*} \int \frac {\left (A+B x^2\right ) \left (b x^2+c x^4\right )^{3/2}}{x^4} \, dx &=\frac {B \left (b x^2+c x^4\right )^{5/2}}{5 c x^5}+A \int \frac {\left (b x^2+c x^4\right )^{3/2}}{x^4} \, dx\\ &=\frac {A \left (b x^2+c x^4\right )^{3/2}}{3 x^3}+\frac {B \left (b x^2+c x^4\right )^{5/2}}{5 c x^5}+(A b) \int \frac {\sqrt {b x^2+c x^4}}{x^2} \, dx\\ &=\frac {A b \sqrt {b x^2+c x^4}}{x}+\frac {A \left (b x^2+c x^4\right )^{3/2}}{3 x^3}+\frac {B \left (b x^2+c x^4\right )^{5/2}}{5 c x^5}+\left (A b^2\right ) \int \frac {1}{\sqrt {b x^2+c x^4}} \, dx\\ &=\frac {A b \sqrt {b x^2+c x^4}}{x}+\frac {A \left (b x^2+c x^4\right )^{3/2}}{3 x^3}+\frac {B \left (b x^2+c x^4\right )^{5/2}}{5 c x^5}-\left (A b^2\right ) \operatorname {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {x}{\sqrt {b x^2+c x^4}}\right )\\ &=\frac {A b \sqrt {b x^2+c x^4}}{x}+\frac {A \left (b x^2+c x^4\right )^{3/2}}{3 x^3}+\frac {B \left (b x^2+c x^4\right )^{5/2}}{5 c x^5}-A b^{3/2} \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {b x^2+c x^4}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.10, size = 109, normalized size = 1.07 \[ \frac {\left (x^2 \left (b+c x^2\right )\right )^{3/2} \left (-15 A b^{3/2} c \tanh ^{-1}\left (\frac {\sqrt {b+c x^2}}{\sqrt {b}}\right )+5 A c \left (b+c x^2\right )^{3/2}+15 A b c \sqrt {b+c x^2}+3 B \left (b+c x^2\right )^{5/2}\right )}{15 c x^3 \left (b+c x^2\right )^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.87, size = 206, normalized size = 2.02 \[ \left [\frac {15 \, A b^{\frac {3}{2}} c x \log \left (-\frac {c x^{3} + 2 \, b x - 2 \, \sqrt {c x^{4} + b x^{2}} \sqrt {b}}{x^{3}}\right ) + 2 \, {\left (3 \, B c^{2} x^{4} + 3 \, B b^{2} + 20 \, A b c + {\left (6 \, B b c + 5 \, A c^{2}\right )} x^{2}\right )} \sqrt {c x^{4} + b x^{2}}}{30 \, c x}, \frac {15 \, A \sqrt {-b} b c x \arctan \left (\frac {\sqrt {c x^{4} + b x^{2}} \sqrt {-b}}{c x^{3} + b x}\right ) + {\left (3 \, B c^{2} x^{4} + 3 \, B b^{2} + 20 \, A b c + {\left (6 \, B b c + 5 \, A c^{2}\right )} x^{2}\right )} \sqrt {c x^{4} + b x^{2}}}{15 \, c x}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.18, size = 140, normalized size = 1.37 \[ \frac {A b^{2} \arctan \left (\frac {\sqrt {c x^{2} + b}}{\sqrt {-b}}\right ) \mathrm {sgn}\relax (x)}{\sqrt {-b}} - \frac {{\left (15 \, A b^{2} c \arctan \left (\frac {\sqrt {b}}{\sqrt {-b}}\right ) + 3 \, B \sqrt {-b} b^{\frac {5}{2}} + 20 \, A \sqrt {-b} b^{\frac {3}{2}} c\right )} \mathrm {sgn}\relax (x)}{15 \, \sqrt {-b} c} + \frac {3 \, {\left (c x^{2} + b\right )}^{\frac {5}{2}} B c^{4} \mathrm {sgn}\relax (x) + 5 \, {\left (c x^{2} + b\right )}^{\frac {3}{2}} A c^{5} \mathrm {sgn}\relax (x) + 15 \, \sqrt {c x^{2} + b} A b c^{5} \mathrm {sgn}\relax (x)}{15 \, c^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 99, normalized size = 0.97 \[ -\frac {\left (c \,x^{4}+b \,x^{2}\right )^{\frac {3}{2}} \left (15 A \,b^{\frac {3}{2}} c \ln \left (\frac {2 b +2 \sqrt {c \,x^{2}+b}\, \sqrt {b}}{x}\right )-15 \sqrt {c \,x^{2}+b}\, A b c -5 \left (c \,x^{2}+b \right )^{\frac {3}{2}} A c -3 \left (c \,x^{2}+b \right )^{\frac {5}{2}} B \right )}{15 \left (c \,x^{2}+b \right )^{\frac {3}{2}} c \,x^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (c x^{4} + b x^{2}\right )}^{\frac {3}{2}} {\left (B x^{2} + A\right )}}{x^{4}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {\left (B\,x^2+A\right )\,{\left (c\,x^4+b\,x^2\right )}^{3/2}}{x^4} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (x^{2} \left (b + c x^{2}\right )\right )^{\frac {3}{2}} \left (A + B x^{2}\right )}{x^{4}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________